[INFO] fetching crate dylink 0.14.0...
[INFO] fixing dylink-0.14.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate dylink 0.14.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate dylink 0.14.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate dylink 0.14.0
[INFO] tweaked toml for crates.io crate dylink 0.14.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate dylink 0.14.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate dylink 0.14.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded dylink_macro v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3067546ad94c067a45f028b279fb6360262a5fba799ef575d395f0fa0acfed6b
[INFO] running `Command { std: "docker" "start" "3067546ad94c067a45f028b279fb6360262a5fba799ef575d395f0fa0acfed6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3067546ad94c067a45f028b279fb6360262a5fba799ef575d395f0fa0acfed6b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3067546ad94c067a45f028b279fb6360262a5fba799ef575d395f0fa0acfed6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3067546ad94c067a45f028b279fb6360262a5fba799ef575d395f0fa0acfed6b" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking dylink v0.14.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> tests/linux.rs:20:2
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     extern "C-unwind" {
[INFO] [stdout] 21 | |         fn XOpenDisplay(display_name: *const c_char) -> *mut Display;
[INFO] [stdout] 22 | |         fn XCloseDisplay(display: *mut Display);
[INFO] [stdout] 23 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> tests/linux.rs:43:2
[INFO] [stdout]    |
[INFO] [stdout] 43 | /     extern "C-unwind" {
[INFO] [stdout] 44 | |         fn atoi(s: *const c_char) -> c_int;
[INFO] [stdout] 45 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `dylink` in this scope
[INFO] [stdout]   --> tests/linux.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[dylink(library = LIB_X11)]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `dylink` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 19 -     #[dylink(library = LIB_X11)]
[INFO] [stdout] 19 +     #[link(library = LIB_X11)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `dylink` in this scope
[INFO] [stdout]   --> tests/linux.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 |     #[dylink(library=THIS)]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `dylink` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 42 -     #[dylink(library=THIS)]
[INFO] [stdout] 42 +     #[link(library=THIS)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dylink` (test "linux") due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> tests/linux.rs:20:2
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     extern "C-unwind" {
[INFO] [stdout] 21 | |         fn XOpenDisplay(display_name: *const c_char) -> *mut Display;
[INFO] [stdout] 22 | |         fn XCloseDisplay(display: *mut Display);
[INFO] [stdout] 23 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]   --> tests/linux.rs:43:2
[INFO] [stdout]    |
[INFO] [stdout] 43 | /     extern "C-unwind" {
[INFO] [stdout] 44 | |         fn atoi(s: *const c_char) -> c_int;
[INFO] [stdout] 45 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `dylink` in this scope
[INFO] [stdout]   --> tests/linux.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 |     #[dylink(library = LIB_X11)]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `dylink` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 19 -     #[dylink(library = LIB_X11)]
[INFO] [stdout] 19 +     #[link(library = LIB_X11)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `dylink` in this scope
[INFO] [stdout]   --> tests/linux.rs:42:4
[INFO] [stdout]    |
[INFO] [stdout] 42 |     #[dylink(library=THIS)]
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `dylink` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: a built-in attribute with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 42 -     #[dylink(library=THIS)]
[INFO] [stdout] 42 +     #[link(library=THIS)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dylink` (test "lib") due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "3067546ad94c067a45f028b279fb6360262a5fba799ef575d395f0fa0acfed6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3067546ad94c067a45f028b279fb6360262a5fba799ef575d395f0fa0acfed6b", kill_on_drop: false }`
[INFO] [stdout] 3067546ad94c067a45f028b279fb6360262a5fba799ef575d395f0fa0acfed6b
